package cn.zhoutao.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.zhoutao.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author MrZhou
 * @since 2022-06-12
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "联系电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @Excel(name = "创建时间", orderNum = "3", width = 30, isImportField = "true_st",exportFormat ="yyyy-MM-dd" )
    private Date registerTime = new Date();
    /**
     * 0待审核 1审核通过 2驳回 -1拒绝 3待激活 4已激活
     */
    @Excel(name = "状态" ,orderNum = "4", width = 30, isImportField = "true_st")
    private Integer state=0;
    @Excel(name = "地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店铺logo" ,orderNum = "6", width = 30, isImportField = "true_st")
    private String logo;

    //关联属性id
    private Long adminId;

    private Employee admin;


}
